package model

import (
	"github.com/astaxie/beego/orm"
)

type Link struct {
	Id        int64
	Url       string `orm:"size(16)"`
	Shortlink string `orm:"size(16)"`
	Longlink  string `orm:"size(2048)"`
}

func init() {
	orm.RegisterModel(&Link{})
}
